/**
 * 
 */
package jvs.vfs.opt.app;

/**
 * @author qiangli
 * 
 */
public final class Types {
	public static final String[] LIST = { "/all", "/recent", };
	
	public static final int ALL = 0;
	public static final int RECENT = 2;

	public static int match(String s) {
		String[] fl = LIST;
		int len = fl.length;
		for (int i = 0; i < len; i++) {
			if (fl[i].equals(s)) {
				return i;
			}
		}
		return -1;
	}

	private Types() {
	}
}
